<?php

namespace IDock\Insurance\ZFIC\Request;

use IDock\Insurance\ZFIC\Response\CommonResponse;
use IDock\Visitor\PolicyPaymentVisitor;

class GetCarVerifyCodeRequest extends AllZFICRequest
{

    protected $urlTip = '验车码获取接口';
    protected $route = 'order/api/order/pinNumber';

    protected $response = CommonResponse::class;

    /**
     * @var PolicyPaymentVisitor $visitor
     */
    protected $visitor;

    public function generate(): array
    {
        $param = [
            "businessNo" => $this->visitor->argc['businessNo'],
            'queryDate' => date('Y-m-d')
        ];
        return $param;
    }

    public function getStaffConfig(&$chalCode, &$userCode)
    {
        $chalCode = $this->visitor->argc['chalCode'] ?? '';
        $userCode = $this->visitor->argc['userCode'] ?? '';
    }


}